home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
amiga3
/
ms-qwk43.lha
/
Install_MS-QWiK
< prev
next >
Wrap
Text File
|
1994-01-25
|
5KB
|
156 lines
; script to install MS-QWiK
; Should be run from WorkBench by double-clicking on the icon
; Requires a stack of 10000 bytes or more
(complete 0)
(set @default-dest "Work:")
(set version (/ (getversion) 65536))
(set version2 36)
(set dest2 (askdir (prompt "Select the location to install the MS-QWiK directory")
(default @default-dest)
(help "Choose a destination partition or directory "
"to contain the reader. The install "
"program will create a directory called 'MS-QWiK' "
"in the location you choose and copy the "
"reader files to it."
)
)
)
(set dest1 (tackon dest2 "MS-QWiK"))
(set @default-dest dest1)
(message "MS-QWiK will be installed in " dest1)
(makedir dest2 (safe) (infos))
(makedir dest1 (safe) (infos))
(set parts
(askoptions
(prompt "Choose the items you would like installed")
(choices "Reader" "Support Files")
(help "You may choose to install only part of the reader. "
"If you do not install all parts, you may not be able to use "
"certain features. You can choose to install those parts later "
"by rerunning this install program and selecting the new "
"parts at this point. The parts you can choose to install "
"are:\n\n"
"Reader - \nSelecting this item installs the pieces of the "
"reader that must be present to allow the reader to operate.\n\n"
"Support Files - \nSelecting this item installs external packers "
"At least one packer is required and failure to install them "
"all, may impair the reader's ability to support decompression."
"of some packets\n\n"
)
)
)
(message "This install program will soon install a new MS-QWiK Configuration File!\n\n Don't forget "
"to snapshot your old configuration NOW, before installing a new MS-QWiK version, to avoid confusion and help "
"ease you in the process of configuring your new version of "
"MS-QWiK.\n\nYou may also [PROCEED] and choose not to install this "
"new config file at the CONFIGURATION FILE prompt. Your old config "
"file, however, may cause the new version to crash upon booting. If this "
"happens, re-run this install utility and you will once "
"again have the choice to install this new config file.\n\n"
)
(if (IN parts 0)
(copyfiles
(prompt "Select the Reader files to copy")
(help @copylib-help)
(source "")
(dest dest1)
(choices "MS-QWiK" "MS-QWiK_DOC.GUIDE")
(optional "nofail")
(infos)
(confirm)
)
)
(if (IN parts 1)
(set supportfiles
(askoptions
(prompt "Which support files do you wish to install?")
(choices "Zip" "UnZip" "LhA" "AmigaGuide")
(help "Zip/LhA/UnZip - Installing the compression utilities LhA, "
"Zip and UnZip enables MS-QWiK to support packing and "
"unpacking of most packets. If, however, you are certain "
"you only need one type then installing all of them would "
"be fruitless. Generally, they should all be installed.\n\n"
"AmigaGuide - MS-QWiK's documentations are in AmigaGuide "
"format. The docs can still be viewed using any text reader "
"but some of the AmigaGuide symbols may impair viewing.\n\n"
)
(default 15)
)
)
)
;copy support packer files now - LHA, Zip, etc,...
(if (IN supportfiles 0)
(copylib
(prompt "Copying Zip to SYS:C")
(help @copylib-help)
(source "c/Zip")
(dest "SYS:c")
(optional "nofail")
(confirm)
)
)
(complete 50)
(if (IN supportfiles 1)
(copylib
(prompt "Copying UnZip to SYS:C")
(help @copylib-help)
(source "c/UnZip")
(dest "SYS:c")
(optional "nofail")
(confirm)
)
)
(if (IN supportfiles 2)
(copylib
(prompt "Copying LhA to SYS:C")
(help @copylib-help)
(source "c/LhA")
(dest "SYS:c")
(optional "nofail")
(confirm)
)
)
(if (IN supportfiles 3)
(copylib
(prompt "Copying AmigaGuide to SYS:C")
(help @copylib-help)
(source "c/AmigaGuide")
(dest "SYS:c")
(optional "nofail")
(confirm)
)
)
(copylib
(prompt "Copying ASL.library to SYS:LIBS")
(help @copylib-help)
(source "LIBS/asl.library")
(dest "SYS:LIBS")
(optional nofail)
(confirm)
)
(copylib
(prompt "Copying ASL.library to SYS:LIBS")
(help @copylib-help)
(source "LIBS/amigaguide.library")
(dest "SYS:LIBS")
(optional nofail)
(confirm)
)
(complete 100)